<?php

namespace App\Models;

use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class IndexSlideshow
 * @package App\Models
 * @version February 18, 2018, 3:28 pm UTC
 *
 * @property string pic
 * @property string skip_type
 * @property integer skip_id
 * @property string json
 * @property integer sort
 */
class IndexSlideshow extends Model
{
    use SoftDeletes;

    public $table = 'index_slideshows';
    

    protected $dates = ['deleted_at'];


    public $fillable = [
        'pic',
        'skip_type',
        'skip_url',
        'skip_id',
        'json',
        'sort'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'pic' => 'string',
        'skip_type' => 'string',
        'skip_id' => 'integer',
        'skip_url' => 'string',
        'sort' => 'integer'
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        
    ];

    
}
